package com.c2001.springboot.dao;

import com.c2001.springboot.domain.Testimonials;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TestimonialsDao {
    int deleteByPrimaryKey(Long id);

    int insert(Testimonials record);

    int insertSelective(Testimonials record);

    Testimonials selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Testimonials record);

    int updateByPrimaryKey(Testimonials record);

    void updateByName(@Param("name") String name, @Param("recommendLevel") Integer recommendLevel);
}